import sys
def sequence(max_sum):
    a,b=0,1
    fib_list=[a,b]
    while a<100:
        print(a,end=" ",flush=True)
        a,b=b,a+b

max_sum=100
sequence(max_sum)
